SlideShare a Scribd company logo
1 of 17
OSHCamp 2012
 Experience with ADK


         @paul_tanner
www.slideshare.com/paul_tanner
Why ADK?


Google want peripheral manufacturers to create
               interesting stuff

    Android hardware can't do everything
    Arduino can do a lot that a phone can't

   Together they're a powerful combination
         And mostly Open Source!
Typical Apps
●   Wall Clock             ●   Lighting Control
●   Car/ Bike Monitor      ●   Wireless Orb
●   Body Monitor           ●   Door Monitor
●   Multimeter             ●   Terminal
●   Logic Analyser         ●   AV Controller
●   'Scope                 ●   Door Key

          List of sensors and actuators
How it works
      ●   Android
      ●   Cable/ USB
      ●   Arduino w. USB host
          (multiple options)
      ●   Software libraries
          (from google code)
How it works (2)
         Android                    Arduino
●   Open UDP socket        ●   Open UDP socket
●   Listen for messages    ●   Listen for messages
●   Send messages          ●   Send messages
●   Dialogue w. server     ●   Handle sensors
●   Handle sensors         ●   Handle actuators

      Concurrent execution of multiple threads
ADK 2011 vs. 2012
           2011                    2012
●   Mega 2560 AVR        ●   ARM processor
●   Standard shield(s)   ●   Clock shield combo
Software
         Android                  Arduino
●   Program in Java w.   ●   Program in C++ w.
    Eclipse                  Arduino IDE
●   Examples available   ●   Examples available
●   Processing a         ●   There's an Arduino-
    restricted option        style IDE for the 2012
                             (ARM) as well
Alternatives
           IOIO                       Amarino
●   Cheaper w. limitations   ●   Cheaper w. limitations




          Anyone want to explore these?
Apps Experience
As an output device   As an input device
Orb(s)
   ●
       1st version was MBED
       hack
        nd
   ●
       2 a Nanode version
       (memory issues)
   ●
       3rd version using ADK
       (at OTA2011)
   ●   Cosm as intermediary
Soil Probe
     ●   Mapping moisture
         patterns: sensors in
         contact + geolocation
     ●   Built this at OTA2012
     ●   Air + soil
     ●   Temp. + humidity
     ●   Linked to “JatRobot”
         project - “Let's disrupt
         the farming business”
Car Monitor
      ●   Started to make this
          using OBDII
      ●   Large number of
          measurements from
          most cars
      ●   Shame mine not
          included :-(
      ●   Alternative of
          CANBUS
Bike Monitor
      ●   Commercial products
          out there.
      ●   Potential for adding
          sensors etc
      ●   London cyclists want
          this with cheap and
          accurate pollution
          measurement !?
Code
●   ADK 2011 package download (zip)
●   Also check board suppliers sites for examples
●   e.g. Seeed Studio wiki
●   IOIO from the main man
●   Amarino docs/ code
Sunday Session
●   Anyone want to hack this stuff?
●   ADK 2011 (1)
●   Sorry no 2012 (yet)
●   IOIO (1)
●   Amarino (1)
References
●   Sensor list
●   ADK 2011 | ADK 2012 (Google IO videos)
●   ADK website
●   IOIO vendor page
●   Amarino shield vendor page
●   Soil Measurement hack
●   Orb (MBED version) hack
●   Notes from recent Londroid event
●   Wahoo kit
●   OBDII from SK Pang
OSHCamp 2012
 Experience with ADK


         @paul_tanner
www.slideshare.com/paul_tanner

More Related Content

Similar to OSHCamp 2012 Experience with Android Open Accessory Development Kit (ADK

Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011Opersys inc.
 
Embedded Android Workshop at Embedded Linux Conference Europe 2011
Embedded Android Workshop at Embedded Linux Conference Europe 2011Embedded Android Workshop at Embedded Linux Conference Europe 2011
Embedded Android Workshop at Embedded Linux Conference Europe 2011Opersys inc.
 
Embedded Android Workshop at AnDevConII
Embedded Android Workshop at AnDevConIIEmbedded Android Workshop at AnDevConII
Embedded Android Workshop at AnDevConIIOpersys inc.
 
Embedded Android Workshop at ELC Europe
Embedded Android Workshop at ELC EuropeEmbedded Android Workshop at ELC Europe
Embedded Android Workshop at ELC EuropeOpersys inc.
 
Embedded Android Workshop / ELC 2013
Embedded Android Workshop / ELC 2013Embedded Android Workshop / ELC 2013
Embedded Android Workshop / ELC 2013Opersys inc.
 
Embedded Android Workshop at Embedded World Conference 2013
Embedded Android Workshop at Embedded World Conference 2013Embedded Android Workshop at Embedded World Conference 2013
Embedded Android Workshop at Embedded World Conference 2013Opersys inc.
 
Android Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part IAndroid Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part IOpersys inc.
 
Embedded Android Workshop with Oreo
Embedded Android Workshop with OreoEmbedded Android Workshop with Oreo
Embedded Android Workshop with OreoOpersys inc.
 
Embedded Android Workshop with Nougat
Embedded Android Workshop with NougatEmbedded Android Workshop with Nougat
Embedded Android Workshop with NougatOpersys inc.
 
Embedded Android Workshop at AnDevCon IV
Embedded Android Workshop at AnDevCon IVEmbedded Android Workshop at AnDevCon IV
Embedded Android Workshop at AnDevCon IVOpersys inc.
 
Embedded Android Workshop at AnDevCon V
Embedded Android Workshop at AnDevCon VEmbedded Android Workshop at AnDevCon V
Embedded Android Workshop at AnDevCon VOpersys inc.
 
Embedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowEmbedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowOpersys inc.
 
Embedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowEmbedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowKarim Yaghmour
 
Embedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowEmbedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowOpersys inc.
 
Embedded Android Workshop at ABS 2014
Embedded Android Workshop at ABS 2014Embedded Android Workshop at ABS 2014
Embedded Android Workshop at ABS 2014Opersys inc.
 
Embedded Android Workshop at AnDevCon VI
Embedded Android Workshop at AnDevCon VIEmbedded Android Workshop at AnDevCon VI
Embedded Android Workshop at AnDevCon VIOpersys inc.
 
Embedded Android Workshop at Embedded World 2014
Embedded Android Workshop at Embedded World 2014Embedded Android Workshop at Embedded World 2014
Embedded Android Workshop at Embedded World 2014Opersys inc.
 
Embedded Android Workshop with Nougat
Embedded Android Workshop with NougatEmbedded Android Workshop with Nougat
Embedded Android Workshop with NougatOpersys inc.
 

Similar to OSHCamp 2012 Experience with Android Open Accessory Development Kit (ADK (20)

Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011
 
Embedded Android Workshop at Embedded Linux Conference Europe 2011
Embedded Android Workshop at Embedded Linux Conference Europe 2011Embedded Android Workshop at Embedded Linux Conference Europe 2011
Embedded Android Workshop at Embedded Linux Conference Europe 2011
 
Embedded Android Workshop at AnDevConII
Embedded Android Workshop at AnDevConIIEmbedded Android Workshop at AnDevConII
Embedded Android Workshop at AnDevConII
 
Embedded Android Workshop at ELC Europe
Embedded Android Workshop at ELC EuropeEmbedded Android Workshop at ELC Europe
Embedded Android Workshop at ELC Europe
 
Embedded Android Workshop / ELC 2013
Embedded Android Workshop / ELC 2013Embedded Android Workshop / ELC 2013
Embedded Android Workshop / ELC 2013
 
Embedded Android Workshop at Embedded World Conference 2013
Embedded Android Workshop at Embedded World Conference 2013Embedded Android Workshop at Embedded World Conference 2013
Embedded Android Workshop at Embedded World Conference 2013
 
Android Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part IAndroid Jumpstart ESC SV 2012 Part I
Android Jumpstart ESC SV 2012 Part I
 
Embedded Android Workshop with Oreo
Embedded Android Workshop with OreoEmbedded Android Workshop with Oreo
Embedded Android Workshop with Oreo
 
Embedded Android Workshop with Nougat
Embedded Android Workshop with NougatEmbedded Android Workshop with Nougat
Embedded Android Workshop with Nougat
 
Embedded Android Workshop at AnDevCon IV
Embedded Android Workshop at AnDevCon IVEmbedded Android Workshop at AnDevCon IV
Embedded Android Workshop at AnDevCon IV
 
Embedded Android Workshop at AnDevCon V
Embedded Android Workshop at AnDevCon VEmbedded Android Workshop at AnDevCon V
Embedded Android Workshop at AnDevCon V
 
Embedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowEmbedded Android Workshop with Marshmallow
Embedded Android Workshop with Marshmallow
 
Embedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowEmbedded Android Workshop with Marshmallow
Embedded Android Workshop with Marshmallow
 
Embedded Android Workshop with Marshmallow
Embedded Android Workshop with MarshmallowEmbedded Android Workshop with Marshmallow
Embedded Android Workshop with Marshmallow
 
Embedded Android Workshop at ABS 2014
Embedded Android Workshop at ABS 2014Embedded Android Workshop at ABS 2014
Embedded Android Workshop at ABS 2014
 
Embedded Android Workshop at AnDevCon VI
Embedded Android Workshop at AnDevCon VIEmbedded Android Workshop at AnDevCon VI
Embedded Android Workshop at AnDevCon VI
 
Embedded Android Workshop at Embedded World 2014
Embedded Android Workshop at Embedded World 2014Embedded Android Workshop at Embedded World 2014
Embedded Android Workshop at Embedded World 2014
 
Day4it and ar presentation
Day4it and ar presentationDay4it and ar presentation
Day4it and ar presentation
 
Embedded Android Workshop with Nougat
Embedded Android Workshop with NougatEmbedded Android Workshop with Nougat
Embedded Android Workshop with Nougat
 
Really fast Android
Really fast AndroidReally fast Android
Really fast Android
 

More from Paul Tanner

Polling is for Wimps?
Polling is for Wimps?Polling is for Wimps?
Polling is for Wimps?Paul Tanner
 
MQTT on Raspberry Pi with node.js
MQTT on Raspberry Pi with node.jsMQTT on Raspberry Pi with node.js
MQTT on Raspberry Pi with node.jsPaul Tanner
 
Heading for the cloud
Heading for the cloudHeading for the cloud
Heading for the cloudPaul Tanner
 
Os hardware meets os software
Os hardware meets os softwareOs hardware meets os software
Os hardware meets os softwarePaul Tanner
 
Intro to IoT for RG 121110
Intro to IoT for RG 121110Intro to IoT for RG 121110
Intro to IoT for RG 121110Paul Tanner
 
Measure manage save 120917
Measure manage save 120917Measure manage save 120917
Measure manage save 120917Paul Tanner
 
Measure manage save 120917
Measure manage save 120917Measure manage save 120917
Measure manage save 120917Paul Tanner
 
Osh camp 2012 experience with adk
Osh camp 2012 experience with adkOsh camp 2012 experience with adk
Osh camp 2012 experience with adkPaul Tanner
 
Quest for a low powered home hub 120522
Quest for a low powered home hub 120522Quest for a low powered home hub 120522
Quest for a low powered home hub 120522Paul Tanner
 
Wireless hacking 20120126
Wireless hacking 20120126Wireless hacking 20120126
Wireless hacking 20120126Paul Tanner
 
Uni w pachube 111108
Uni w pachube 111108Uni w pachube 111108
Uni w pachube 111108Paul Tanner
 
Social measurement energy 2.0
Social measurement   energy 2.0Social measurement   energy 2.0
Social measurement energy 2.0Paul Tanner
 
Knowledge is Power (saving)
Knowledge is Power (saving)Knowledge is Power (saving)
Knowledge is Power (saving)Paul Tanner
 
Social Media Practicalities NfP
Social Media Practicalities NfPSocial Media Practicalities NfP
Social Media Practicalities NfPPaul Tanner
 
Social Media Value
Social Media ValueSocial Media Value
Social Media ValuePaul Tanner
 
Social Media Practicalities
Social Media PracticalitiesSocial Media Practicalities
Social Media PracticalitiesPaul Tanner
 
Metering Story - Homecamp 0903
Metering Story - Homecamp 0903Metering Story - Homecamp 0903
Metering Story - Homecamp 0903Paul Tanner
 

More from Paul Tanner (18)

Polling is for Wimps?
Polling is for Wimps?Polling is for Wimps?
Polling is for Wimps?
 
MQTT on Raspberry Pi with node.js
MQTT on Raspberry Pi with node.jsMQTT on Raspberry Pi with node.js
MQTT on Raspberry Pi with node.js
 
Heading for the cloud
Heading for the cloudHeading for the cloud
Heading for the cloud
 
Os hardware meets os software
Os hardware meets os softwareOs hardware meets os software
Os hardware meets os software
 
Intro to IoT for RG 121110
Intro to IoT for RG 121110Intro to IoT for RG 121110
Intro to IoT for RG 121110
 
Measure manage save 120917
Measure manage save 120917Measure manage save 120917
Measure manage save 120917
 
Measure manage save 120917
Measure manage save 120917Measure manage save 120917
Measure manage save 120917
 
Osh camp 2012 experience with adk
Osh camp 2012 experience with adkOsh camp 2012 experience with adk
Osh camp 2012 experience with adk
 
Quest for a low powered home hub 120522
Quest for a low powered home hub 120522Quest for a low powered home hub 120522
Quest for a low powered home hub 120522
 
Wireless hacking 20120126
Wireless hacking 20120126Wireless hacking 20120126
Wireless hacking 20120126
 
Uni w pachube 111108
Uni w pachube 111108Uni w pachube 111108
Uni w pachube 111108
 
Oshug 110929
Oshug 110929Oshug 110929
Oshug 110929
 
Social measurement energy 2.0
Social measurement   energy 2.0Social measurement   energy 2.0
Social measurement energy 2.0
 
Knowledge is Power (saving)
Knowledge is Power (saving)Knowledge is Power (saving)
Knowledge is Power (saving)
 
Social Media Practicalities NfP
Social Media Practicalities NfPSocial Media Practicalities NfP
Social Media Practicalities NfP
 
Social Media Value
Social Media ValueSocial Media Value
Social Media Value
 
Social Media Practicalities
Social Media PracticalitiesSocial Media Practicalities
Social Media Practicalities
 
Metering Story - Homecamp 0903
Metering Story - Homecamp 0903Metering Story - Homecamp 0903
Metering Story - Homecamp 0903
 

Recently uploaded

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

OSHCamp 2012 Experience with Android Open Accessory Development Kit (ADK

  • 1. OSHCamp 2012 Experience with ADK @paul_tanner www.slideshare.com/paul_tanner
  • 2. Why ADK? Google want peripheral manufacturers to create interesting stuff Android hardware can't do everything Arduino can do a lot that a phone can't Together they're a powerful combination And mostly Open Source!
  • 3. Typical Apps ● Wall Clock ● Lighting Control ● Car/ Bike Monitor ● Wireless Orb ● Body Monitor ● Door Monitor ● Multimeter ● Terminal ● Logic Analyser ● AV Controller ● 'Scope ● Door Key List of sensors and actuators
  • 4. How it works ● Android ● Cable/ USB ● Arduino w. USB host (multiple options) ● Software libraries (from google code)
  • 5. How it works (2) Android Arduino ● Open UDP socket ● Open UDP socket ● Listen for messages ● Listen for messages ● Send messages ● Send messages ● Dialogue w. server ● Handle sensors ● Handle sensors ● Handle actuators Concurrent execution of multiple threads
  • 6. ADK 2011 vs. 2012 2011 2012 ● Mega 2560 AVR ● ARM processor ● Standard shield(s) ● Clock shield combo
  • 7. Software Android Arduino ● Program in Java w. ● Program in C++ w. Eclipse Arduino IDE ● Examples available ● Examples available ● Processing a ● There's an Arduino- restricted option style IDE for the 2012 (ARM) as well
  • 8. Alternatives IOIO Amarino ● Cheaper w. limitations ● Cheaper w. limitations Anyone want to explore these?
  • 9. Apps Experience As an output device As an input device
  • 10. Orb(s) ● 1st version was MBED hack nd ● 2 a Nanode version (memory issues) ● 3rd version using ADK (at OTA2011) ● Cosm as intermediary
  • 11. Soil Probe ● Mapping moisture patterns: sensors in contact + geolocation ● Built this at OTA2012 ● Air + soil ● Temp. + humidity ● Linked to “JatRobot” project - “Let's disrupt the farming business”
  • 12. Car Monitor ● Started to make this using OBDII ● Large number of measurements from most cars ● Shame mine not included :-( ● Alternative of CANBUS
  • 13. Bike Monitor ● Commercial products out there. ● Potential for adding sensors etc ● London cyclists want this with cheap and accurate pollution measurement !?
  • 14. Code ● ADK 2011 package download (zip) ● Also check board suppliers sites for examples ● e.g. Seeed Studio wiki ● IOIO from the main man ● Amarino docs/ code
  • 15. Sunday Session ● Anyone want to hack this stuff? ● ADK 2011 (1) ● Sorry no 2012 (yet) ● IOIO (1) ● Amarino (1)
  • 16. References ● Sensor list ● ADK 2011 | ADK 2012 (Google IO videos) ● ADK website ● IOIO vendor page ● Amarino shield vendor page ● Soil Measurement hack ● Orb (MBED version) hack ● Notes from recent Londroid event ● Wahoo kit ● OBDII from SK Pang
  • 17. OSHCamp 2012 Experience with ADK @paul_tanner www.slideshare.com/paul_tanner